{% extends 'base.html' %}

{% block title %}
     {{ blog.title }}
{% endblock %}



{% block content %}
    <h3>{{ blog.title }}</h3>
    <p>作者：{{ blog.author }}</p>
    <p>发表日期：{{ blog.created_time|date:"Y-m-d" }}</p>
    <p>分类：
        <a href='{% url 'blogs_with_type' blog.blog_type.pk %}'>
            {{ blog.blog_type.type_name }}
        </a>
    </p>
    <p>{{ blog.context }}</p>

{% endblock %}